{extend name="public/base" /}

{block name="title"}{$systems.webname}{/block}

{block name="main"}

    <div class="jumbotron">
        <h1 class="animated fadeInDown">梦中程序员！</h1>
        <p class="animated shake">
            梦中程序员是一个教学级博客系统，目前使用ThinkPHP5.1和Laravel5.5框架各开发一个，网站暂时只提供博文浏览功能，视频功能、留言功能、投稿功能、收益功能、推荐功能稍后开放。</p>
    </div>
<div class="row">
        <div class="col-sm-12 col-md-8">
            <div class="page-header h3">博文列表</div>
            <div class="article-list">
                {volist name="articles" as id="vo"}
                <div class="article-list-item">
                    <a href="{:url('/article/'.$vo.id)}" class="title">{$vo.title}</a>
                    <div class="info">
                        <span class="author">作者：{$vo.author} </span>-
                        <span class="time">发布时间：{$vo.create_time} </span>-
                        <span class="read">阅读：{$vo.click} </span>-
                        <span class="comment">评论：{$vo.comment}</span>
                    </div>
                </div>
                {/volist}
            </div>
            {$articles|raw}
        </div>
    <div class="col-sm-12 col-md-4">
        <div class="page-header h3">推荐文章</div>
        <div class="topic-list">
            {volist name="articleTop" as id="vo"}
            <div class="topic-list-item">
                <a href="#" class="title">{$vo.title}</a>
            </div>
            {/volist}
        </div>
    </div>
</div>
{/block}